﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using MahApps.Metro.Controls;

namespace SL.Library.WPF
{
    /// <summary>
    /// MainWindow.xaml 的交互逻辑
    /// </summary>
    public partial class MainWindow : MetroWindow
    {
        ResourceAddWindow radd_win;
        public MainWindow()
        {
            InitializeComponent();
        }

        #region Menu Handlers

        private void EventMenuResourceAdd_Click(object sender, RoutedEventArgs e)
        {
            if (radd_win == null)
            {
                radd_win = new ResourceAddWindow();
            }

            radd_win.ShowDialog();
            
        }

        #endregion

        
    }
}
